<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| Hooks
| -------------------------------------------------------------------------
| This file lets you define "hooks" to extend CI without hacking the core
| files.  Please see the user guide for info:
|
|	http://codeigniter.com/user_guide/general/hooks.html
|
*/

$hook['pre_system'] = array(
    array(
        'class' => 'pre_system',
        'function' => 'set_environment',
        'filename' => 'pre_system.php',
        'filepath' => 'hooks',
    ),
    array(
        'class' => 'pre_system',
	'function' => 'load_exceptions',
        'filename' => 'pre_system.php',
        'filepath' => 'hooks',
    ),
);

$hook['pre_controller'] = array();

$hook['post_controller_constructor'] = array(
    array(
        'class'    => 'post_controller_constructor',
        'function' => 'fetch_saved_lang',
        'filename' => 'post_controller_constructor.php',
        'filepath' => 'hooks',
    ),
    array(
        'class'    => 'post_controller_constructor',
        'function' => 'check_login',
        'filename' => 'post_controller_constructor.php',
        'filepath' => 'hooks',
    ),
    array(
        'class'    => 'post_controller_constructor',
        'function' => 'add_ui',
        'filename' => 'post_controller_constructor.php',
        'filepath' => 'hooks',
    ),
);

$hook['display_override'] = array(
    array(
        'class'    => 'display_override',
        'function' => 'format_display',
        'filename' => 'display_override.php',
        'filepath' => 'hooks',
    ),
);

$hook['cache_override'] = array();

$hook['post_system'] = array(
    array(
        'class'    => 'post_system',
        'function' => 'close_db',
        'filename' => 'post_system.php',
        'filepath' => 'hooks',
    ),
);


/* End of file hooks.php */
/* Location: ./application/config/hooks.php */